package com.ruoyi.business.enums;

/**
 * 账户操作类型
 */
public enum AccountOpType {


    RECHARGE_PLATFORM(100,"平台代充"),
    RECHARGE_USER(101,"用户充值"),
    RECHARGE_PROXY(102,"代理代充"),
    FEE_ORDER(200,"订单手续费"),
    FEE_REVERSAL(201,"订单手续费冲正"),
    FEE_WITHDRAW(202,"提现手续费"),

    FROZEN_ORDER(302,"订单预扣账户"),
    INCOME_ORDER(300,"订单收入"),
    INCOME_ORDER_REVERSAL(301,"订单收入冲正"),

    FROZEN_WITHDRAW(400,"提现冻结"),
    UNFROZEN_WITHDRAW_FAILED(401,"取消提现"),
    WITHDRAW_SUCC(402,"提现成功"),

    AGENTS_ORDER_INCOME(500,"下级代理订单分成"),


    REVERSAL_BALANCE(600,"资金冲正")
    ;

    private long val;
    private String desc;

    AccountOpType(long val, String desc) {
        this.val = val;
        this.desc = desc;
    }

    public long getVal() {
        return val;
    }

    public void setVal(long val) {
        this.val = val;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

}
